package study.spring.firstday;

import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

//import study.spring.firstday.HelloSpring;

public class MainApp {
	
   public static void main(String[] args) {
	   
      ApplicationContext context = new ClassPathXmlApplicationContext("myBeans.xml");
      HelloSpring obj = (HelloSpring) context.getBean("HelloSpring");
      obj.getMessage();
      
   }
   
}
